GtkMenuTracker: don't specialise "submenu" link
authorRyan Lortie <desrt@desrt.ca>
Mon, 28 Apr 2014 12:01:35 +0000 (14:01 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 28 Apr 2014 18:14:41 +0000 (14:14 -0400)
commitf6ee00769a9190ed95857dab9fc78f935b6645db
treeceba7c549db663cee30a9910ce1304559f8f89dd
parent48db84182211324cc70703da609d15e3a568f5f6
GtkMenuTracker: don't specialise "submenu" link

We have some API in GtkMenuTracker and GtkMenuTrackerItem that is
specifically designed to deal with submenus.

Generalise these APIs to take a 'link_name' parameter that we always
give as G_MENU_SUBMENU for now.  In the future, this will allow creating
trackers for other types of links, such as sections.
gtk/gtkmenushell.c
gtk/gtkmenutracker.c
gtk/gtkmenutracker.h
gtk/gtkmenutrackeritem.c
gtk/gtkmenutrackeritem.h
gtk/gtkpopover.c